package com.cs51.seam;

import java.util.ArrayList;
import java.util.Arrays;

import javax.imageio.ImageIO;

import interfaces.SeamCarve;
import interfaces.SeamCarve.ResizeDirection;

public class SeamConstants {
	//define defaults
	public static final double SEAM_DEFAULT_MAX_SCORE = 0.1;
	public static final Integer SEAM_DEFAULT_MAX_NUM = 200;
	public static final SeamCarve.ResizeDirection RESIZE_DEFAULT_DIRECTION = 
		SeamCarve.ResizeDirection.horizontal;
	
	
	/*dictates how much memory an image can take up of free memory 
	 (we have to leave room for the energy and seams) */
	public static final double IMAGE_MAX_MEM_PER = .1;
	
	//get all available write formats
	public static final ArrayList<String> IMAGE_FORMATS = 
			new ArrayList<String>(Arrays.asList(ImageIO.getWriterFormatNames()));

	//specifies the prefix for tmp files
	public static final String TMP_FILE_PREFIX = "SeamCarve";
}
